<?php
/**
 * @Author: Wang Chunsheng 2192138785@qq.com
 * @Date:   2020-03-27 19:51:59
 * @Last Modified by:   Wang Chunsheng 2192138785@qq.com
 * @Last Modified time: 2020-03-27 19:52:53
 */
 


namespace common\addons\diandi_shop\backend;

use Yii;
use common\addons\diandi_shop\models\DdGoods;
use backend\controllers\BaseController;

/**
 * DefaultController
 *
 * @author Misbahul D Munir <misbahuldmunir@gmail.com>
 * @since 1.0
 */
class DefaultController extends BaseController
{
    
    public $layout = "@backend/views/layouts/plugins-base";
    /**
     * Action index
     */
    public function actionIndex()
    {
        $goods = DdGoods::findOne(['goods_id' => '10262']);

        return $this->render('index');
    }
}
